<template>
  <div class="info-container">
    <span class="mr-15 poros-table-header-required">{{ title }}</span>
    <p-textarea v-model="form.approveOpinion" class="textarea" />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '提交终版审批意见'
    }
  },
  data() {
    return {
      form: {
        approveOpinion: '',
      },
    };
  },
};
</script>

<style lang="less" scoped>
.info-container {
  margin-bottom: 20px;
  padding-left: 40px;
  padding-right: 20px;
  box-sizing: border-box;
  display: flex;
}
.textarea {
  height: 90px !important;
  flex: 1;
  resize: none;
}
</style>
